package pro.spring.inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import pro.spring.model.UsersHasThemeKey;

public interface UsersHasThemeMapper {
    int deleteByPrimaryKey(UsersHasThemeKey key);

    int insert(UsersHasThemeKey record);

    int insertSelective(UsersHasThemeKey record);
    
    //得到总条数
    Integer selectCount();
    
    //得到总条数
    Integer selectByNew();
    
    //分页查询
    List<UsersHasThemeKey> selectListPage(@Param("offset")Integer offset,@Param("pagesize")Integer pagesize);
}